#require:host\detect-ping

param(
)

if((Test-Path "C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE") -and
	(Test-Path "hklm:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0") -and
	((Get-ItemProperty "hklm:\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions\12.0").SharePoint -eq "Installed")) {
	2007
}
0